package com.xlb.pojo;

import java.math.BigDecimal;

public class Goods {
    private Integer id;

    private Integer uid;

    private String name;

    private String med;

    private BigDecimal price;

    private String address;

    private String label;

    private String state;

    public Goods(Integer id, Integer uid, String name, String med, BigDecimal price, String address, String label, String state) {
        this.id = id;
        this.uid = uid;
        this.name = name;
        this.med = med;
        this.price = price;
        this.address = address;
        this.label = label;
        this.state = state;
    }

    public Goods() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public String getMed() {
        return med;
    }

    public void setMed(String med) {
        this.med = med == null ? null : med.trim();
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address == null ? null : address.trim();
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label == null ? null : label.trim();
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state == null ? null : state.trim();
    }
}